package com.ruixun.query;

import com.ruixun.common.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
@ApiModel(description = "权限查询条件")
public class SysPermissionPageQuery extends PageParam {

    @ApiModelProperty(value = "权限名称（模糊查询）", example = "用户管理")
    private String permissionName;

    @ApiModelProperty(value = "权限类型（0-菜单，1-按钮）", example = "0")
    private Integer permissionType;

}